home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Bus
/
S
/
Stock HELPER®.cpt
/
Stock HELPERÆ V0.2
/
background_35582.txt
< prev
next >
Wrap
Text File
|
1988-03-23
|
3KB
|
150 lines
-- background: 35582 from stack: in.2
-- bmap block id: 0
-- flags: 4000
-- background id: 0
-- name:
----- HyperTalk script -----
on openBackGround
send tabKey
end openBackGround
on mouseup
send tabkey
end mouseup
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=5 top=319 right=338 bottom=25
-- title width / last selected line: 0
-- icon id / first selected line: 21700 / 21700
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect iris close
go home
end mouseUp
-- part 3 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=78 top=77 right=94 bottom=164
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Symbol
-- part 4 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=163 top=77 right=94 bottom=376
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Name
-- part 5 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=84 top=122 right=140 bottom=165
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Last Week
-- part 6 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=164 top=122 right=140 bottom=403
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Last Week's Prices
-- part 7 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=84 top=148 right=166 bottom=165
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: This Week
-- part 8 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=164 top=148 right=166 bottom=403
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: This Week's Prices
----- HyperTalk script -----
on CloseField
global updateFlag,cardNr,lineCount
set cursor to 4
if updateFlag="ok" then
add 1 to lineCount
put field "This Week"&","&field "This Week's Prices" into line lineCount of field "data" of card cardNr
end if -- updateFlag="ok"
if (updateFlag="ok") or (updateFlag="skip") then
add 1 to cardNr
if cardNr<=number of cards then
set lockScreen to true
put "openCard" into updateFlag
go to card cardNr
quickUpdate
put "OK" into updateFlag
set lockScreen to false
else
put "skip" into updateFlag
put empty into field "Name"
put empty into field "Symbol"
put empty into field "This Week"
put empty into field "This Week's Prices"
go card "Title Card"
end if
else
if (updateFlag="cancel") then
go card "Title Card"
end if
end if -- updateFlag="ok" or "skip"
end CloseField